    <div class="mainCon">
        <div class="breadCurmbs">
            <a href="#">宝贝（子分类）属性
            </a>
        </div>
        <div class="box">
            <table cellpadding="0" cellspacing="0" border="0" class="table-2">
                <tr>
                    <th class="num1">id</th>
                    <th class="num2">宝贝子分类</th>
                    <th class="num1">宝贝分类</th>
                    <th class="num2">添加时间</th>
                    <th class="num3">操作</th>
                </tr>
                <?php
                if($result):
                    foreach($result as $v):
                ?>
                <tr>
                    <td class="num1"><?php echo $v['id'];?></td>
                    <td class="num2"><?php echo $v['name'];?></td>
                    <td class="num1">
                        <?php $class = $this->common->get_one_list($v['cloth_class_id']);?>
                        <?php echo $class['name'];?>
                    </td>
                    <td class="num2"><?php echo $v['addtime'];?></td>
                    <td class="num3"><a href="<?php echo site_url('admin/cloth/baby_type_edit');?>/<?php echo $v['id'];?>">编辑</a> | <a href="<?php echo site_url('admin/cloth/baby_type_delete');?>/<?php echo $v['id'];?>" onclick="return confirm('确认删除？');">删除</a></td>
                </tr>
                <?php 
                        endforeach;
                    endif;
                ?>
            </table>
            <div class="bottomPaging">
                <a href="<?php echo base_url('admin/cloth/baby_type_add');?>" class="fl iBtn addList">新增</a>
            </div>
        </div>
    </div>
</div>

